package com.adou.service;

import com.adou.common.util.EntityUtil.Entity;

import java.util.Map;

public interface FlowDesignService {

    /**
     * 根据流程主键查询流程图数据
     * @param fid
     * @return
     */
    Entity queryData(Long fid);

    /**
     * 添加流程图数据
     * @param map
     * @return
     */
    Entity insertData(Map<String, Object> map);

}
